<#--百度map-->
<#macro libs_baidu_map>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=${h_plugin_baidu_map_ak}"></script>
</#macro>

<#--选择日期+时间控件-->
<#macro libs_datetimepicker>
<link rel="stylesheet" type="text/css"
      href="${CONTEXT_PATH}/plugin/assets/plugins/bootstrap-datetimepicker/css/datetimepicker.css">
<script type="text/javascript"
        src="${CONTEXT_PATH}/plugin/assets/plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker.js"></script>
</#macro>

<#--控件[+____-]-->
<#macro libs_spinner>
<script type="text/javascript" src="${CONTEXT_PATH}/plugin/assets/plugins/fuelux/js/spinner.min.js"></script>
</#macro>

<#--带input的select控件-->
<#macro libs_select2>
<link rel="stylesheet" type="text/css" href="${CONTEXT_PATH}/plugin/assets/plugins/select2/select2_metro.css">
<script type="text/javascript" src="${CONTEXT_PATH}/plugin/assets/plugins/select2/select2.min.js"></script>
</#macro>

<#--百度地图控件-->
<#macro libs_baidu_map>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=${h_plugin_baidu_map_ak}"></script>
</#macro>

<#--上传组件-->
<#macro libs_fileupload>
<link href="${CONTEXT_PATH}/plugin/assets/plugins/jquery-file-upload/css/jquery.fileupload-ui.css"
      rel="stylesheet">
<script src="${CONTEXT_PATH}/plugin/assets/plugins/jquery-file-upload/js/vendor/jquery.ui.widget.js"></script>
<script src="${CONTEXT_PATH}/plugin/assets/plugins/jquery-file-upload/js/jquery.iframe-transport.js"></script>
<script src="${CONTEXT_PATH}/plugin/assets/plugins/jquery-file-upload/js/jquery.fileupload.js"></script>
    <#nested />
</#macro>

<#macro libs_jquery_1_10_2>
<script src="${CONTEXT_PATH}/plugin/assets/plugins/jquery-1.10.2.min.js"></script>
</#macro>

<#--表格控件-->
<#macro libs_datatables>
    <@libs_datatables_css/>
    <@libs_datatables_js/>
</#macro>
<#macro libs_datatables_css>
<link rel="stylesheet" href="${CONTEXT_PATH}/plugin/assets/plugins/data-tables/DT_bootstrap.css"/>
</#macro>
<#macro libs_datatables_js>
<script type="text/javascript"
        src="${CONTEXT_PATH}/plugin/assets/plugins/data-tables/jquery.dataTables.js"></script>
<script type="text/javascript"
        src="${CONTEXT_PATH}/plugin/assets/plugins/data-tables/DT_bootstrap.js"></script>
</#macro>

<#--uniform-->
<#macro libs_uniform>
    <@libs_uniform_css/>
    <@libs_uniform_js/>
</#macro>
<#macro libs_uniform_css>
<link href="${CONTEXT_PATH}/plugin/assets/plugins/uniform/css/uniform.default.css" rel="stylesheet"
      type="text/css"/>
</#macro>
<#macro libs_uniform_js>
<script src="${CONTEXT_PATH}/plugin/assets/plugins/uniform/jquery.uniform.min.js"
        type="text/javascript"></script>
</#macro>


<#macro libs_bootstrap>
    <@libs_bootstrap_css/>
    <@libs_bootstrap_js/>
</#macro>
<#macro libs_bootstrap_css>
<link href="${CONTEXT_PATH}/css/bootstrap.min.css" rel="stylesheet"
      type="text/css"/>
<#--<link href="${CONTEXT_PATH}/plugin/assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet"-->
      <#--type="text/css"/>-->
</#macro>
<#macro libs_bootstrap_js>
<script src="${CONTEXT_PATH}/js/bootstrap.min.js"></script>
<#--<script src="${CONTEXT_PATH}/plugin/assets/plugins/bootstrap/js/bootstrap.min.js"-->
        <#--type="text/javascript"></script>-->
</#macro>

<#--cookies-->
<#macro libs_jquery_cookies_js>
<script src="${CONTEXT_PATH}/plugin/assets/plugins/jquery.cookie.min.js"
        type="text/javascript"></script><!--操作cookies-->
</#macro>

<#--toastr-->
<#macro libs_toastr>
    <@libs_toastr_css/>
    <@libs_toastr_js/>
</#macro>
<#macro libs_toastr_css>
<link href="${CONTEXT_PATH}/plugin/assets/plugins/bootstrap-toastr/toastr.min.css" rel="stylesheet"
      type="text/css">
</#macro>
<#macro libs_toastr_js>
<script src="${CONTEXT_PATH}/plugin/assets/plugins/bootstrap-toastr/toastr.min.js"
        type="text/javascript"></script> <!-- toast 提示-->
</#macro>


<#macro libs_jquery_form_js>
<script src="${CONTEXT_PATH}/plugin/assets/plugins/jquery-validation/lib/jquery.form.js"
        type="text/javascript"></script> <!-- 表单常用操作 -->
</#macro>


<#macro libs_app_default>
<script src="${CONTEXT_PATH}/plugin/assets/scripts/app.js" type="text/javascript"></script>
<script type="text/javascript">
    jQuery(document).ready(function () {
        //js中存放应用名称
        App.appName="${CONTEXT_PATH}";
        App.init();
    });
</script>
</#macro>

<#--timeline css-->
<#macro libs_timeline_css>
<link href="${CONTEXT_PATH}/plugin/assets/css/pages/timeline.css" rel="stylesheet" type="text/css">
</#macro>

<#-- highcharts -->
<#macro libs_highcharts_js>
<script src="${CONTEXT_PATH}/plugin/assets/plugins/highcharts/js/highcharts.js"
        type="text/javascript"></script>
</#macro>

<#-- slimscroll -->
<#macro libs_slimscroll_js>
<script src="${CONTEXT_PATH}/plugin/assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js"
        type="text/javascript"></script>
</#macro>

<#-- ztree css -->
<#macro libs_ztree_css>
<link href="${CONTEXT_PATH}/plugin/zTree_v3/css/metroStyle/metroStyle.css" rel="stylesheet" type="text/css">
<#--<link href="${CONTEXT_PATH}/plugin/zTree_v3/css/awesomeStyle/awesome.css" rel="stylesheet" type="text/css" >-->
<#--<link href="${CONTEXT_PATH}/plugin/zTree_v3/css/zTreeStyle/zTreeStyle.css" rel="stylesheet" type="text/css" >-->
</#macro>

<#-- ztree -->
<#macro libs_ztree_js>
<script src="${CONTEXT_PATH}/plugin/zTree_v3/js/jquery.ztree.all-3.5.min.js" type="text/javascript"></script>
</#macro>

<#-- dtgrid js-->
<#macro libs_dtgrid_js>
<script src="${CONTEXT_PATH}/plugin/dtgrid/jquery.dtGrid.js" type="text/javascript"></script>
<script src="${CONTEXT_PATH}/plugin/dtgrid/i18n/zh-cn.js" type="text/javascript"></script>
</#macro>

<#-- dtgrid css -->
<#macro libs_dtgrid_css>
<#--
动画效果需要搭配bootstap3.2.0版本
plugin中的bootstap 3.0.2版本不支持
-->
<link href="${CONTEXT_PATH}/plugin/dtgrid/jquery.dtGrid.css" rel="stylesheet" type="text/css">
</#macro>

<#--选择日期+时间控件-->
<#macro libs_my97datepicker>
<link rel="stylesheet" type="text/css"
      href="${CONTEXT_PATH}/plugin/My97DatePicker/skin/WdatePicker.css">
<script type="text/javascript"
        src="${CONTEXT_PATH}/plugin/My97DatePicker/WdatePicker.js"></script>
</#macro>

<!-- 表单验证 -->
<#macro libs_jquery_validate_js>
<script src="${CONTEXT_PATH}/plugin/assets/plugins/jquery-validation/jquery.validate.js"
        type="text/javascript"></script>
</#macro>

<!-- holder 上传是(图片预览默认图片) -->
<#macro libs_holder_js>
<script src="${CONTEXT_PATH}/plugin/assets/plugins/holder.js"
        type="text/javascript"></script>
</#macro>

<#macro libs_sui>
<link href="http://g.alicdn.com/sj/dpl/1.5.1/css/sui.min.css" rel="stylesheet">
<script type="text/javascript" src="http://g.alicdn.com/sj/dpl/1.5.1/js/sui.min.js"></script>
</#macro>
<#macro libs_sui_m>
<link rel="stylesheet" href="//g.alicdn.com/msui/sm/0.5.8/css/sm.css">
<script type='text/javascript' src='//g.alicdn.com/sj/lib/zepto/zepto.js' charset='utf-8'></script>
<script type='text/javascript' src='//g.alicdn.com/msui/sm/0.5.8/js/sm.js' charset='utf-8'></script>
<!--如果你用到了拓展包中的组件，还需要引用下面两个-->
<link rel="stylesheet" href="//g.alicdn.com/msui/sm/0.5.8/css/sm-extend.css">
<script type='text/javascript' src='//g.alicdn.com/msui/sm/0.5.8/js/sm-extend.js' charset='utf-8'></script>
</#macro>
